<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>Data Siswa</title>
        <link href="<?php echo base_url(); ?>css/bootstrap.min.css" rel="stylesheet" media="screen"/>
    </head>
    <body>
        <div id="form_input" title="Input / Edit Data">
            <table>
                <?php echo validation_errors(); ?>
                <?php echo form_open('admin/siswa/submit'); ?>
                <tr>
                    <td> <?php echo form_label('NIM : '); ?></td>
                    <td> <?php echo form_input('nim', set_value('nim'), 'id="nim"'); ?></td>
                </tr>
                <tr >
                    <td> <?php echo form_label('Nama : '); ?></td>
                    <td> <?php echo form_input('nama', set_value('nama'), 'id="nama"'); ?></td>
                </tr>
                <tr>
                    <td> <?php echo form_label('Password : '); ?> </td>
                    <td> <?php echo form_password('password', '', 'id="password"'); ?></td>
                </tr>
                <tr>
                    <td> <?php echo form_label('Repeat Password : '); ?> </td>
                    <td> <?php echo form_password('passconf', '', 'id="passconf"'); ?></td>
                </tr>
                <tr>
                    <td> <?php echo form_label('Kelas : '); ?> </td>
                    <td> <?php echo form_input('kelas', set_value('kelas'), 'id="kelas"'); ?></td>
                </tr>
                <tr>
                <td><?php echo form_submit('submit','Save', 'class="btn btn-primary"')?>
              </tr>
            </table>
        </div>
    </body>
</html>